﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="xmlMovie._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:Button ID="Button1" runat="server" Text="Button" 
    onclick="Button1_Click" />
    <asp:Button ID="Button2" runat="server" Text="data"  onclick="data_Click" />

    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    <div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" >
            <Columns>
                <asp:BoundField DataField="id" HeaderText="id" />
              <%--  <asp:BoundField DataField="name" HeaderText="name" />--%>
                <asp:BoundField DataField="rating" HeaderText="rating" />
              <%-- <asp:TemplateField HeaderText="image">--%>
               <%--<ItemTemplate>
                <asp:Image ID="Image1" runat="server" ImageUrl='<%# Bind("image") %>' />
               
               </ItemTemplate>
               
              
               
               </asp:TemplateField>
                --%>
                
            </Columns>
            
        </asp:GridView>
    </div>



    <asp:Label ID="Label2" runat="server"  ></asp:Label>

</asp:Content>
